package com.aaa.sys.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * (TabMenu)实体类
 *
 * @author makejava
 * @since 2023-04-24 15:45:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TabTree implements Serializable {
    private static final long serialVersionUID = 933923807102821676L;
    
    private Integer id;
    /**
     * 菜单的名字
     */
    private String title;

    private Boolean spread = true;

    // 一对多
    private List<TabTree> children = new ArrayList<>();

}

